<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="手动挂载NAS文件系统或NAS共享">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="nas_s_0108">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>手动挂载NAS文件系统或NAS共享</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="nas_s_0108"></a><a name="nas_s_0108"></a>
  <h1 class="topictitle1">手动挂载NAS文件系统或NAS共享</h1>
  <div>
   <p>完成即时挂载后，还需手动将即时挂载产生的共享挂载至对应客户端。</p>
   <div class="section">
    <h4 class="sectiontitle">前提条件</h4>
    <p>已完成NAS文件系统或NAS共享即时挂载，具体操作请参见<a href="nas_s_0066.html">即时挂载NAS文件系统</a>或<a href="nas_s_0067.html">即时挂载NAS共享</a>。</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">操作步骤</h4>
    <ul>
     <li>如果为NFS共享，请执行以下操作：
      <ol>
       <li>登录需挂载NFS共享的Linux主机。</li>
       <li>执行以下命令，挂载NFS共享。<p><strong>mount -t nfs -o vers=3</strong> <em>共享IP</em><strong>:/</strong><em> 共享路径 用户自定义的挂载点</em></p>
        <div class="note">
         <img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span>
         <div class="notebody">
          <p>命令中的<em>共享IP、共享路径、用户自定义的挂载点</em>请根据实际替换。<em>共享IP、共享路径</em>可在“<span>即时挂载</span> &gt; <span>NAS文件系统</span>”或“<span>即时挂载</span> &gt; <span>NAS共享</span>”页面，单击即时挂载副本右侧的“<span>更多</span> &gt; <span>查看</span>”获取。</p>
         </div>
        </div> <p>示例：</p> <pre class="screen">mount -t nfs -o vers=3 192.168.101.67:/<span style="color:#282B33;"> mount_1702111928963/ /mnt/mount_12345</span></pre></li>
      </ol></li>
     <li>如果为CIFS共享，请执行以下操作：
      <ol>
       <li>登录需挂载CIFS共享的Windows主机。</li>
       <li>执行以下命令，挂载CIFS共享。<p><strong>net use</strong> <em>挂载盘符</em>: <strong>\\</strong><em>共享IP</em>\<em>共享名称 CIFS共享用户的密码</em><strong> /user:</strong><em>CIFS共享用户名</em></p>
        <div class="note">
         <img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span>
         <div class="notebody">
          <div class="p">
           命令中的<em>挂载盘符、共享IP、共享名称、CIFS共享用户的密码、CIFS共享用户名</em>请根据实际替换。
           <ul>
            <li><em>挂载盘符</em>为Windows主机中未使用过的盘符。</li>
            <li><em>共享IP、共享名称、CIFS共享用户名</em>可在“<span>即时挂载</span> &gt; <span>NAS文件系统</span>”或“<span>即时挂载</span> &gt; <span>NAS共享</span>”页面，单击即时挂载副本右侧的“<span>更多</span> &gt; <span>查看</span>”获取。</li>
            <li><em>CIFS共享用户的密码</em>为在DeviceManager创建该共享用户时输入的密码。</li>
           </ul>
          </div>
         </div>
        </div> <p>示例：</p> <pre class="screen">net use C: \\192.168.101.68\<span style="color:#282B33;">mount_1702382814125</span> Admin@123 /user:dcf</pre></li>
      </ol></li>
    </ul>
   </div>
  </div>
 </body>
</html>